package com.minelx.woods.task.core.sql;

import com.minelx.sqlstructures.statements.SelectBuilder;
import com.minelx.sqlstructures.statements.clause.AndBuilder;

public class MajorSqlBuilder {
	private final SelectBuilder body;

	public MajorSqlBuilder(SelectBuilder body) {
		this.body = body;
	}

	public String toText() {
		return "2=> " + body.build().toText();
	}

	public SelectBuilder body() {
		return body;
	}

	public AndBuilder where() {
		return body.where();
	}
}
